﻿using System;

namespace DataBase.DBmodels
{
    public class ControlLog
    {
        /// <summary>
        /// Log_ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// SN编号
        /// </summary>
        public string? SN { get; set; }

        /// <summary>
        /// 电缸编号
        /// </summary>
        public int? CylinderNo { get; set; }

        /// <summary>
        /// 目标压力值
        /// </summary>
        public double? TargetPressure { get; set; }

        /// <summary>
        /// 目标位移值
        /// </summary>
        public double? TargetPosition { get; set; }

        /// <summary>
        /// 实际压力值
        /// </summary>
        public double? ActualPressure { get; set; }

        /// <summary>
        /// 实际位移值
        /// </summary>
        public double? ActualPosition { get; set; }

        /// <summary>
        /// 正在执行的程序
        /// </summary>
        public string? ExecuteProgram { get; set; }

        /// <summary>
        /// 日志信息
        /// </summary>
        public string? LogInfo { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        public string? Type { get; set; }
    }
}
